home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 019a / text103.zip / TEXT103.DOC next >
Text File  |  1991-12-14  |  6KB  |  122 lines

  1.        Dos File Editor ver 1.03           By Daniel Wright   Copyright 1991
  2.  
  3.        Function Keys
  4.  
  5.        F1 : Shows a help screen
  6.        F5 : Delete line from cursor to end of line
  7.        F6 : Clear current line, do not delete
  8.        F7 : Save and Resume editing 
  9.        F8 : Save and Exit editing
  10.  
  11.        Alt Keys
  12.  
  13.        Alt-N : Inserts line above cursor, and moves cursor to that new line
  14.        Alt-P : Prints file
  15.        Alt-R : Resets all five TabMarkers to column 1
  16.        Alt-T : Set next available TabMarker (maximum of 5)
  17.        Alt-W : Toggles LineWrap on/off [statusline]
  18.        Alt-X : Exits with no save
  19.        Alt-Y : Deletes current line
  20.  
  21.        Ctrl Keys
  22.  
  23.        ^Home : Top of File
  24.        ^End  : End of File
  25.  
  26.        Other Keys
  27.  
  28.              Esc : puts ascii 27 in file
  29.              Del : deletes character above cursor
  30.              Tab : Moves cursor to next TabMarker
  31.             Home : Moves cursor to beginning of line
  32.        BackSpace : deletes character to the left of the cursor
  33.           PageUp : Moves cursor up 20 lines
  34.         PageDown : Moves cursor down 20 lines
  35.           Arrows : Move cursor in direction of arrow
  36.           Insert : toggles overwrite/insert mode [statusline]
  37.                        
  38.  
  39.    Maximum File Length is 750 lines.
  40.  
  41. NOTES:  
  42.  
  43. This program was meant to teach myself something about Pascal.  I needed
  44. a small program that would take the place of EDLIN, whenever I needed to
  45. write or modify small batch files.  Due to the limitations of allocating
  46. memory dynamically, I had to limit the number of lines that the program
  47. can edit.  Even with those limitations none of my batch files have ever
  48. exceeded this programs capabilities.  I have used this program many times
  49. to read short DOC files that come with someone elses program.
  50.  
  51. This program has been tested on an 80286-10 and an 80486-33.  I prefer to
  52. use the latter, but this program works with either.
  53.  
  54. I wrote this doc. file with this program, and it works nicely.  A few
  55. words:
  56.    1.  With batch files I've never liked .BAK files so this program 
  57.        doesn't create them.
  58.    2.  The BackSpace key deletes the char to the left of the cursor.
  59.    3.  The Delete key delete the char over the cursor.
  60.    4.  This program works with only one line at a time, and at the present
  61.        has no interaction between lines.
  62.    5.  Since ANSI.SYS likes the ESC character, this program inserts an ESC
  63.        as easily as hitting the ESC key.
  64.    6.  I have found it works best by putting the program in a directory
  65.        that my PATH knows about, and then I can use it in any sub-dir.
  66.        I rename the file to T.EXE to make it very easy to bring up.
  67.    7.  You may include the desired file to be edited on the command line,
  68.        if you don't, then you will be prompted for the filename.  There is
  69.        no way to abort this prompt.  You can create zero byte files, by 
  70.        entering the name of the file, and then pushing Alt-X thereby
  71.        exiting the file.  
  72.    8.  The Insert key changes from overwrite to insert, and changes the
  73.        cursor accordingly.
  74.    9.  LineWrap will automatically wrap the line at position 75.  This
  75.        always adds a new line to the file.  It will allow continual typing
  76.        to simplify writing docs.  I know, I'm using it. 
  77.   10.  If you load a file that has lines longer than 79, all of that data
  78.        will be lost.  The program will not warn you that you will lose this
  79.        data.
  80.  
  81. Although this program has been entered into the Public Domain, all rights
  82. are reserved.  This program is Copyrighted 1991, by DANIEL WRIGHT.
  83. Since this program is Public Domain, feel free to make copies and pass
  84. it around.  My legal advisor requests that I include the next two
  85. paragraphs:
  86.  
  87. DANIEL WRIGHT MAKES NO WARRANTY, EITHER EXPRESSED OR IMPLIED, INCLUDING
  88. BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OR MERCHANTABILITY OR FITNESS
  89. FOR A PARTICULAR PURPOSE, REGARDING THESE MATERIALS AND MAKES SUCH
  90. MATERIALS AVAILABLE SOLELY ON AN "AS-IS" BASIS.
  91.  
  92. IN NO EVENT SHALL DANIEL WRIGHT BE LIABLE TO ANYONE FOR SPECIAL, 
  93. COLLATERAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR
  94. ARISING OUT OF USE OF THESE MATERIALS.  THE SOLE AND EXCLUSIVE LIABILITY
  95. TO DANIEL WRIGHT, REGARDLESS OF THE FORM OF ACTION, SHALL NOT EXCEED THE
  96. ORIGINAL INTENDED PURCHASE PRICE OF THE MATERIALS DESCRIBED HEREIN.  THE
  97. ORIGINAL INTENDED PURCHASE PRICE IS ZERO DOLLARS.
  98.  
  99. If you need to know the original size of this program, or if
  100. you have any comments, suggestions, or requests I can be reached on
  101. EXEC-PC (1-414-789-4210) as Daniel Wright.
  102.  
  103.        HISTORY:
  104.  
  105.        1.00   :   Basic EDLIN replacement.
  106.                   Allowed text/background color changes
  107.                   Maximum file length was 800 lines
  108.  
  109.        1.01   :   Simple editor tools (F5 & F6)
  110.                   Allowed formatted printing
  111.                   TabMarkers were programmed in, to allow column writing
  112.                   Maximum file length reduced to 750 lines
  113.  
  114.        1.02   :   Deleted Text/Background color changes
  115.                   Added Help Screen
  116.                   Added LineWrap
  117.  
  118.        1.03   :   Autodetection of color or mono graphics cards.  If a
  119.                   mono card is detected then all color is removed from this
  120.                   program.  It resorts to black and white.  This feature was
  121.                   tested using a VGA card in Hercules and in mono modes.  If
  122.                   you encounter a problem with this feature please notify me.